package com.letoken.platform.repo.ecommerce.dto;

import com.letoken.platform.pub.req.QueryReqBase;
import com.letoken.platform.repo.ecommerce.po.EcommerceAfterOrder;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel(value = "新用户售后订单申请请求对象", description = "新用户售后订单申请请求对象")
public class UserAfterOrderReq  {



    @ApiModelProperty(value = "订单ID")
    @NotNull(message = "80500002")
    private Integer id;

    @ApiModelProperty(value = "1退款 2退货退款")
    @NotNull(message = "80500020")
    private Integer type;

    @ApiModelProperty(value = "0未收到货 1已收到货")
    @NotNull(message = "80500021")
    private Integer goodsStatus;


    @ApiModelProperty(value = "申请退款金额")
    private BigDecimal amount;


    @ApiModelProperty(value = "售后原因")
    @NotNull(message = "80500022")
    private String reason;

    private Integer payType;
}
